/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.model.animation.animationTime;

import pl.edu.amu.wmi.kino.visualjavafx.model.animation.transformations.Transformation;

/**
 *
 * @author psychollek
 */
public class HardKeyFrame extends KeyFrame{
    
    public HardKeyFrame(KeyFrame keyframe){
        super();
        this.setTime(keyframe.getTime());
        for(Transformation t : keyframe.getTransformations())
            this.getTransformations().add(t);
    }

    public KeyFrame toKeyFrame(){
        return (KeyFrame) this;
    }
}
